package model

import "go-admin-server/common/timex"

type EventLog struct {
	ID        uint64     `gorm:"primaryKey;"`
	Title     string     `json:"title"`
	Level     int        `json:"level"`
	Message   string     `gorm:"size:255;"`
	CreatedAt timex.Time `json:"createdAt"`
}

func (c *EventLog) TableName() string {
	return "event_log"
}
